package com.cloud.dao;


import com.cloud.pojo.ReagentResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author: Tangtao
 * @Date: 2022/4/15 10:26
 * @Description: Nucleic acid reagent results data persistence layer
 * @ClassName: ReagentResultDao
 */
@Mapper
public interface ReagentResultDao {

    public ReagentResult checkTestResultByBottleId(@Param(value = "bottleId") String bottleId);

    public int saveTestResult(@Param(value = "reagentResult") ReagentResult reagentResult);

    public int resultUpdate(@Param(value = "reagentResult") ReagentResult reagentResult);

    public List<String> getBottleIdByCardId(@Param(value = "cardId") String cardId);

    public List<ReagentResult> getAllResult();

    public int deleteResult(@Param(value = "BottleId") String BottleId);
}
